export default {
  common: {
    search: 'Search',
    reset: 'Reset',
    add: 'Add',
    edit: 'Edit',
    delete: 'Delete',
    confirm: 'Confirm',
    cancel: 'Cancel',
    success: 'Success',
    failed: 'Failed',
    loading: 'Loading...',
    noData: 'No Data',
    normal: 'Normal',
    disabled: 'Disabled',
    action: 'Action',
    status: 'Status',
    statusPlaceholder: 'Please select status',
    batchDelete: 'Batch Delete',
    assignPermission: 'Assign Permission',
    confirmDelete: 'Are you sure to delete?'
  },
  menu: {
    dashboard: 'Dashboard',
    system: 'System',
    user: 'User Management',
    role: 'Role Management',
    dept: 'Department Management',
    menu: 'Menu Management',
    dict: 'Dictionary Management',
    config: 'System Config',
    log: 'Log Management',
    loginLog: 'Login Log',
    operLog: 'Operation Log',
    profile: 'Profile',
    password: 'Change Password',
    name: 'Menu Name',
    type: 'Menu Type',
    icon: 'Icon',
    sort: 'Sort',
    permission: 'Permission',
    path: 'Route Path',
    component: 'Component Path',
    namePlaceholder: 'Please enter menu name',
    typePlaceholder: 'Please select menu type',
    confirmDelete: 'Are you sure to delete this menu?',
    adding: 'Adding feature is under development...',
    editing: 'Editing feature is under development...',
    deleting: 'Deleting feature is under development...',
    batchDeleting: 'Batch deleting feature is under development...',
    permissionType: {
      directory: 'Directory',
      menu: 'Menu',
      button: 'Button'
    }
  },
  dashboard: {
    totalUsers: 'Total Users',
    onlineUsers: 'Online Users',
    systemLogs: 'System Logs',
    systemRuntime: 'System Runtime',
    days: 'days',
    comparedToLastWeek: 'vs last week',
    normalOperation: 'Normal Operation',
    recentLogins: 'Recent Logins',
    systemInfo: 'System Info',
    systemVersion: 'System Version',
    nodeVersion: 'Node Version',
    vueVersion: 'Vue Version',
    serverEnv: 'Server Environment'
  },
  login: {
    title: 'System Login',
    username: 'Username',
    password: 'Password',
    rememberMe: 'Remember me',
    login: 'Login',
    forgotPassword: 'Forgot Password?',
    usernameRequired: 'Please enter username',
    passwordRequired: 'Please enter password',
    success: 'Login successful',
    failed: 'Login failed',
    invalidCredentials: 'Invalid username or password'
  },
  user: {
    title: 'User Management',
    username: 'Username',
    realName: 'Real Name',
    phone: 'Phone',
    email: 'Email',
    status: 'Status',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    resetPassword: 'Reset Password',
    assignRole: 'Assign Role',
    batchDelete: 'Batch Delete',
    confirmDelete: 'Are you sure to delete selected users?',
    confirmResetPassword: 'Are you sure to reset the password?',
    newPassword: 'New Password',
    confirmPassword: 'Confirm Password',
    profile: {
      title: 'Profile',
      basicInfo: 'Basic Information',
      avatar: 'Avatar',
      uploadAvatar: 'Upload Avatar',
      changeAvatar: 'Change Avatar',
      realName: 'Real Name',
      realNameRequired: 'Please enter your real name',
      phone: 'Phone',
      phoneRequired: 'Please enter your phone number',
      email: 'Email',
      emailRequired: 'Please enter your email',
      emailInvalid: 'Please enter a valid email address',
      save: 'Save',
      cancel: 'Cancel',
      success: 'Saved successfully',
      failed: 'Save failed',
      avatarTypeError: 'You can only upload JPG/PNG images!',
      avatarSizeError: 'Image size cannot exceed 2MB!',
      avatarSuccess: 'Avatar uploaded successfully',
      avatarFailed: 'Avatar upload failed'
    },
    password: {
      title: 'Change Password',
      oldPassword: 'Old Password',
      newPassword: 'New Password',
      confirmPassword: 'Confirm Password',
      submit: 'Submit',
      cancel: 'Cancel',
      success: 'Password changed successfully',
      failed: 'Password change failed',
      oldPasswordRequired: 'Please enter your old password',
      newPasswordRequired: 'Please enter your new password',
      confirmPasswordRequired: 'Please confirm your new password',
      passwordNotMatch: 'The two passwords do not match'
    },
    logout: {
      title: 'Logout',
      confirm: 'Are you sure to logout?',
      success: 'Logout successful'
    }
  },
  role: {
    title: 'Role Management',
    roleName: 'Role Name',
    roleCode: 'Role Code',
    description: 'Description',
    status: 'Status',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    setPermission: 'Set Permission',
    assignUser: 'Assign User',
    batchDelete: 'Batch Delete',
    confirmDelete: 'Are you sure to delete selected roles?'
  },
  dept: {
    title: 'Department Management',
    deptName: 'Department Name',
    parentDept: 'Parent Department',
    leader: 'Leader',
    phone: 'Phone',
    email: 'Email',
    sort: 'Sort',
    status: 'Status',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    batchDelete: 'Batch Delete',
    confirmDelete: 'Are you sure to delete selected departments?'
  },
  permission: {
    title: 'Permission Management',
    permissionName: 'Permission Name',
    permissionCode: 'Permission Code',
    permissionType: 'Permission Type',
    parentPermission: 'Parent Permission',
    path: 'Permission Path',
    component: 'Component Path',
    icon: 'Icon',
    sort: 'Sort',
    menu: 'Menu',
    permissionNamePlaceholder: 'Please enter permission name',
    permissionCodePlaceholder: 'Please enter permission code',
    permissionTypePlaceholder: 'Please select permission type',
    parentPermissionPlaceholder: 'Please select parent permission',
    pathPlaceholder: 'Please enter permission path',
    componentPlaceholder: 'Please enter component path',
    iconPlaceholder: 'Please enter icon name',
    menuPlaceholder: 'Please select menu',
    type: {
      menu: 'Menu',
      button: 'Button',
      api: 'API',
      data: 'Data'
    }
  },
  loginLog: {
    title: 'Login Log',
    id: 'Log ID',
    username: 'Username',
    ip: 'Login IP',
    location: 'Location',
    browser: 'Browser',
    os: 'Operating System',
    loginTime: 'Login Time',
    errorMsg: 'Error Message',
    detail: 'Detail',
    detailTitle: 'Login Log Detail',
    clean: 'Clean Log',
    cleanSuccess:'Clean successful',
    cleanConfirmContent:'Are you sure you want to clean all login log data? This operation cannot be undone!',
    export: 'Export',
    placeholder: {
      username: 'Please enter username',
      ip: 'Please enter IP address',
      location: 'Please enter location',
      browser: 'Please enter browser',
      os: 'Please enter operating system',
      status: 'Please select login status'
    },
    status: {
      label: 'Login Status',
      success: 'Success',
      failed: 'Failed'
    },
    time: {
      start: 'Start Time',
      end: 'End Time'
    },
    message: {
      cleaning: 'Cleaning function is under development...',
      exporting: 'Export function is under development...'
    }
  }
} 